package com.sdy.kzyy.biz.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 注释
 * </p>
 *
 * @author fb
 * @since 2020/3/3
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "预约订单详细信息")
public class RecordInfoDTO {

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份证号码")
    private String cardId;

    @ApiModelProperty(value = "订单时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date orderTime;

    @ApiModelProperty(value = "二维码地址")
    private String qrcodePath;

    @ApiModelProperty(value = "领取状态 1-未领取，2-已领取")
    private String receiveStatus;

    @ApiModelProperty(value = "订单状态 1-失效，2-有效")
    private String orderStatus;

    @ApiModelProperty(value = "自提网点")
    private String site;

    @ApiModelProperty(value = "网点地址")
    private String siteAddress;

    @ApiModelProperty(value = "药店名称")
    private String sName;

    @ApiModelProperty(value = "药店地址")
    private String address;

    @ApiModelProperty(value = "预约时间")
    private String appointTime;

    @ApiModelProperty(value = "周一~周日")
    private String week;

    @ApiModelProperty(value = "拼接日时间字段")
    private String weekTime;

    @ApiModelProperty(value = "领取时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date receiveTime;

    @ApiModelProperty(value = "区名称")
    private String aName;


}
